<%@ page language="java" contentType="text/html; charset=BIG5"
    pageEncoding="BIG5"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=BIG5">
<script type="text/javascript" src="js/jquery-1.9.1-vsdoc.js"></script>
<script type="text/javascript" src="js/jquery-2.0.0.js"></script>
<title>Insert title here</title>
</head>
<body>
	<table id="myTable" border="1" cellpadding="0" cellspacing="0" />
</body>
</html>
<script type="text/javascript">
	var tableString = "";
	for(var i=0; 5>i ; i++){
		tableString += "<tr><td></td><td></td><td></td><td></td><td></td></tr>";
	}
	$(function(){
		$('#myTable').append(tableString).css({'width':'100px','height':'100px'});
		$('#myTable td:even').css({'background':'black','color':'white'});
		$('#myTable td').each(function(i){$(this).text((i%3)+1);});
		$('#myTable tr').css({'text-align':'center'});
		$('#myTable td:contains("3")').css('color', 'red');
	});

</script>